import request from '../utils/request'

// 商品分类列表
export const getSortListService = () => request.get('/sort/all')

// 添加商品分类
export const addSortService = (data) => request.post('/sort/add', data)

// 修改商品分类
export const updateSortService = (data) => request.put('/sort/update', data)

// 删除商品分类
export const deleteSortService = (id) => request.delete('/sort/delete/' + id)
